import { ref } from 'vue';

const sceneList = [
  {
    id: 'forging-room',
    name: '炼器室',
  },
  {
    id: 'illusion',
    name: '幻境',
  },
];

const activeScene = ref('main');

export function useHome() {
  function changeScene(id: string) {
    activeScene.value = id;
  }

  return { sceneList, activeScene, changeScene };
}
